#ifndef DAHOLIDAY_H
#define DAHOLIDAY_H

#include <QDateTime>
#include <QLabel>
#include <QPaintEvent>
#include <QString>
#include <QWidget>

class DAHoliday : public QWidget
{
public:
    explicit DAHoliday(QWidget *parent = nullptr);

    QString LeaveTime(QString Date, QString Format ="yyyy-MM-dd hh:mm:ss");
signals:

private:
    void paintEvent(QPaintEvent *e);
    QLabel Title,Time;
};

#endif // DAHOLIDAY_H
